/****** Object:  Stored Procedure dbo.CGO_PaymentDelete    Script Date: Thursday, March 24, 2011 ******/
IF EXISTS ( SELECT  *
            FROM    dbo.sysobjects
            WHERE   id = OBJECT_ID(N'dbo.CGO_PaymentDelete')
                    AND OBJECTPROPERTY(id, N'IsProcedure') = 1 ) 
  DROP PROCEDURE dbo.CGO_PaymentDelete
GO

/* -------------------------------------------------------------------------------------
/   PaymentDelete
/  ------------------------------------------------------------------------------------- */
SET QUOTED_IDENTIFIER ON 
GO
SET ANSI_NULLS OFF 
GO

CREATE PROCEDURE dbo.CGO_PaymentDelete
  @PortalID INT ,
  @PaymentID INT
AS 
  DELETE  FROM dbo.CGO_Payment
  WHERE   PortalID = @PortalID
          AND PaymentID = @PaymentID
GO

SET QUOTED_IDENTIFIER OFF 
GO
SET ANSI_NULLS ON 
GO